package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.SaleCarBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ISaleCarMapper extends BaseMapper<SaleCarBean> {

    /**
     * 通过销售员id查询销售车商品集合，同时查询商品名称、品牌、建议销售价、库存数量
     * @param userId 销售员id
     * @return 销售车商品集合
     */
    List<SaleCarBean> findById(Integer userId);
}
